<?php
// wcf imports
require_once(WCF_DIR.'lib/system/event/EventHandler.class.php');
require_once(WCF_DIR.'lib/system/event/EventListener.class.php');


/**
 * Shows the teampage tab
 * 
 * @author	Martin Schwendowius (Sani9000)
 * @copyright	2010 WoltLab Community
 * @license	GNU Lesser Public License <http://www.gnu.org/licenses/lgpl.html>
 */
class ShowTeamPageListener implements EventListener {

	/**
	 * @see EventListener::execute()
	 */
	public function execute($eventObj, $className, $eventName) {
		//load additional tabs
		WCF::getTPL()->append(array(
			'additionalTabs' => WCF::getTPL()->fetch('teamlisttab')
		));
	}
}
?>